package org.dtrd.modules.shop.service;

import org.dtrd.modules.shop.entity.po.DtrdEntShcRdProductPush;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import org.dtrd.modules.shop.entity.bean.ProductPushDetail;

import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 * <p>
 * 商品推送表服务类
 * </p>
 *
 * @author sun
 * @since 2022-09-03
 */
public interface IDtrdEntShcRdProductPushService extends IService<DtrdEntShcRdProductPush> {

    ProductPushDetail getProductPush(Integer dataId);

    boolean saveOrUpdateProductPush(ProductPushDetail dto);

    boolean removeProductPush(Integer dataId);

    ProductPushDetail getLastPushProduct(Integer patientId);
}
